package global

import "go.uber.org/zap"

func InitZapLog() {
	config := zap.NewDevelopmentConfig()
	config.OutputPaths = []string{
		"./log/server.log",
		"stderr",
		"stdout",
	}
	logger, _ := config.Build()
	zap.ReplaceGlobals(logger)
}
